#pragma once
#include <windows.h>
#include "..\Render\Render.h"
#include <d3d9.h>
#include <d3d9types.h>
#include <d3dx9math.h>
//
//class Panel
//{
//	D3DXVECTOR3 m_Position;
//	D3DXVECTOR2 m_Dimensions;
//
//public:
//	Panel();
//	~Panel();
//
//	std::string Text;
//	std::string Title;
//
//	HRESULT Create();
//	HRESULT Release();
//	
//	void SetPosition(D3DXVECTOR2& position);
//	void SetSize(D3DXVECTOR2& dimensions);
//	void Draw();
//
//};

class GUI {

public:


private:
	/*friend class Panel;
	friend class Hotbox;
	
	std::vector<Panel*> m_panels;
	*/
	static Render::tResource* g_pButtonsMain;
	static Render::tResource* g_pCursor;
	static D3DXVECTOR2 g_CursorPosition;

public:

	GUI();
	~GUI();

	static bool Create();
	static bool Release();	
	static void Draw();
	static void OnMouseEvent(const int x, const int y, const int leftButton, const int rightButton);
	static void OnKeydown(UINT* pKeyboardState);

//	Panel* CreatePanel();
};
